import {appname} from '../config';
import {routerRedux} from 'dva/router';

export default {
  gotoRouter(dispatch,pathname,query)
  {
    dispatch(routerRedux.push({
      pathname,
      query
    }));
  }
}